package com.fs.groupSeven.pojo;

/**
 * @description:
 * @author: fbb
 * @createDate: 2020/9/28 10:22
 */
public class Subject {
    private int subjectId;
    private String name;
    private String duration;
    private int collegeId;
    private int state;
    private String javatext;
    private Teacher teacher;

    public String getJavatext() {
        return javatext;
    }

    public void setJavatext(String javatext) {
        this.javatext = javatext;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public int getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(int subjectId) {
        this.subjectId = subjectId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public int getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(int collegeId) {
        this.collegeId = collegeId;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Subject{" +
                "subjectId=" + subjectId +
                ", name='" + name + '\'' +
                ", duration='" + duration + '\'' +
                ", collegeId=" + collegeId +
                ", state=" + state +
                ", javatext='" + javatext + '\'' +
                ", teacher=" + teacher +
                '}';
    }
}
